package com.nengchuan.kbms.dfs.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件 VO
 * </p>
 *
 * @author abe
 * @since 2020-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DataFileVO 对象", description = "文件 VO")
public class DataFileVO {

    @ApiModelProperty(value = "文件id", position = 10)
    private Long id;

    @ApiModelProperty(value = "所属文件夹id", position = 20)
    private Long folderId;

    @ApiModelProperty(value = "文件名", position = 30)
    private String fileName;

    @ApiModelProperty(value = "文件大小（字节）", position = 40, hidden = true)
    @JsonIgnore
    private Long fileSize;

    @ApiModelProperty(value = "文件大小", position = 45)
    private String fileSizeStr;

    @ApiModelProperty(value = "文件类型", position = 46)
    private String type;

    @ApiModelProperty(value = "备注，描述", position = 50)
    private String remark;

    @ApiModelProperty(value = "修改日期（时间戳）", position = 60)
    private Long createTime;

    @ApiModelProperty(value = "数据类型（d：文件夹；f：文件）")
    private String bizType;

    @ApiModelProperty(value = "ISBN（电子图书馆用）")
    private String isbn;

    @ApiModelProperty(value = "出版社（电子图书馆用）")
    private String publishing;

}
